<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>用户添加模块-弹出框</title>
    <script type="text/javascript" src="https://cdn.staticfile.org/jquery/1.12.4/jquery.min.js"></script>
    <link rel="stylesheet" href="../../static/css/layui.css" th:href="@{/css/layui.css}">

</head>
<body class="childrenBody" style="margin-top: 20px">

<form class="layui-form">

    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">用户名：</label>
            <div class="layui-input-inline">
                <input type="text" name="contactalias" class="layui-input ContactAlias" lay-verify="required"
                       placeholder="请输入用户名">
            </div>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">头像：</label>

            <div class="layui-input-inline imgs">

            </div>
            <button name="imgFile" type="button" class="layui-btn" id="img">
                <i class="layui-icon">&#xe67c;</i>上传图片
            </button>

        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">名字：</label>
            <div class="layui-input-inline">
                <input type="text" name="contactname" class="layui-input ContactName" lay-verify="required"
                       placeholder="请输入名字">
            </div>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">性别：</label>
        <div class="layui-input-block">
            <input type="radio" class="sex" name="sex" value="1" title="男">
            <input type="radio" class="sex" name="sex" value="2" title="女">
            <input type="radio" class="sex" name="sex" value="7" title="保密">
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label"><i class="layui-icon">&#xe676;</i>：</label>
            <div class="layui-input-inline">
                <input type="text" name="qq" class="layui-input QQ" lay-verify="required" placeholder="请输入qq">
            </div>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label"><i class="layui-icon">&#xe677;</i>：</label>
            <div class="layui-input-inline">
                <input type="text" name="wechat" class="layui-input WeChat" lay-verify="required" placeholder="请输入微信号">
            </div>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label"><i class="layui-icon">&#xe678;</i>：</label>
            <div class="layui-input-inline">
                <input type="text" name="phone" class="layui-input phone" lay-verify="required" placeholder="请输入手机号">
            </div>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">密码：</label>
            <div class="layui-input-inline">
                <input type="text" name="password" class="layui-input password" lay-verify="required"
                       placeholder="请输入密码">
            </div>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">是否激活：</label>
            <div class="layui-input-inline activation">
                <input class="activation" name="activation" id="jihuo" type="checkbox" lay-skin="switch" lay-filter="jh"
                       lay-text="开启|关闭">
            </div>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">权限：</label>
            <div class="layui-input-inline permission">
                <input class="Permission" name="permission" type="checkbox" lay-skin="switch" id="quanxian"
                       lay-filter="qx" lay-text="开启|关闭">
            </div>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit="" lay-filter="addNews">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>

</form>
</body>
<script src="../../static/layui.js" th:src="@{/layui.js}"></script>
<script src="../../static/layuijs/UserAdd.js" th:src="@{/layuijs/UserAdd.js}"></script>

<script>

</script>
</html>